
import request from "@/util/httpMock"

/**
 * @description: 获取banner图片
 * @param {*}
 * @return {*}
 */
export function getBannerAPI (params = {}){

  return request({
    url:'/home/banner',

  })
}


/**
 * @description: 获取人气推荐
 * @param {*}
 * @return {*}
 */
export const findHotAPI = () => {
  return request({
    url:'/home/hot'
  })
}

/**
 * @description: 获取所有图书模块
 * @param {*}
 * @return {*}
 */
export const getBooksAPI = () => {
  return request({
    url: '/home/books'
  })
}

